package mspbots.hubspot.data.core.synclogs;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

/**
 * mspbots.data.sync.autotask.badmessage.AtBadMsg
 *
 * @author <a href="https://github.com/vnobo">Alex bob</a>
 * @date Created by 2020/7/21
 */
@Data
@Builder
@Table("hubspot_bad_msgs")
public class BadMsg {

    @Id
    private Long id;
    private Long tenantId;
    private String msgId;
    private Integer count;
    private String exchange;
    private String queue;
    private String routingKeys;
    private String reason;
    private LocalDateTime errTime;
    private JsonNode msg;
    private LocalDateTime msgTime;

}
